home *** CD-ROM | disk | FTP | other *** search
- Path: pegasus.PFM-Mainz.de!babylon!rbabel
- From: rbabel@babylon.pfm-mainz.de (Ralph Babel)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: RunCommand() of "execute" cmd seglist weirdness
- Message-ID: <54417@babylon.pfm-mainz.de>
- Date: 8 Jan 1996 21:10:31 +0100
- References: <4c5nra$beq@clare.res.com>
-
- Sam Yee wrote:
-
- > RunCommand(ex_seglist,8192,"T:runcmd.test\n",14);
- > Flush(Output());
- > Printf("RunCommand end\n");
- >
- > This is weird as "execute" is run *after*
- > Printf("RunCommand end\n").
-
- That's the proper behavior, as "Execute" modifies the
- shell's command stream. Unless your program _is_ a shell,
- however, you're not really supposed to call RunCommand()
- anyway. See sections 14.5, 17.1.113, 20.1.2, and the last
- paragraph on page 502 of the Amiga Guru Book for details.
-
- ftp://ftp.pfm-mainz.de/pub/amiga/gurubook-info.lha
-